package com.github.ecbp.store.service.dto;

import com.github.ecbp.common.req.BaseIdDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author Created by Alex·He on 2020/4/30 23:39
 * @Version V1.0
 * @Description: 商品满减价格传递参数
 */
@Data
@ApiModel
public class ProductFullReductionDTO extends BaseIdDTO {

    private Long productId;

    /**
     * 商品需满足的金额
     */
    @ApiModelProperty(value = "商品需满足的金额")
    private BigDecimal fullPrice;

    /**
     * 商品减少金额
     */
    @ApiModelProperty(value = "商品减少金额")
    private BigDecimal reducePrice;
}
